package com.gx.smart.base.navigator;

import androidx.annotation.NonNull;
import androidx.navigation.Navigator;
import androidx.navigation.fragment.FragmentNavigator;
import androidx.navigation.fragment.NavHostFragment;

/**
 * @author xiaosy
 * @create 2020/8/14
 * @Describe
 **/
public class CustomNavHostFragment extends NavHostFragment {
    @NonNull
    @Override
    protected Navigator<? extends FragmentNavigator.Destination> createFragmentNavigator() {
        return new FixFragmentNavigator(requireContext(), getChildFragmentManager(), getId());
    }
}
